Make it build against the current wip/menus-rebase3 branch
authorMatthias Clasen <mclasen@redhat.com>
Tue, 29 Nov 2011 22:44:11 +0000 (17:44 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:07 +0000 (12:51 -0500)
tests/testgmenu.c

index 4aa5bb42713372549de247c70207a8a782797e1b..5fb657ceb653548289239e6ea51117ff64d6cc17 100644 (file)
@@ -1007,21 +1007,19 @@ main (int argc, char *argv[])
 
   if (do_export)
     {
-#if 0
       g_print ("Exporting menus on the bus...\n");
-      if (!g_menu_exporter_export (bus, OBJ_PATH, model, &error))
+      if (!g_menu_model_dbus_export_start (bus, OBJ_PATH, model, &error))
         {
           g_warning ("Menu export failed: %s", error->message);
           exit (1);
         }
       g_print ("Exporting actions on the bus...\n");
-      if (!g_action_group_exporter_export (bus, OBJ_PATH, group, &error))
+      if (!g_action_group_dbus_export_start (bus, OBJ_PATH, group, &error))
         {
           g_warning ("Action export failed: %s", error->message);
           exit (1);
         }
       g_bus_own_name_on_connection (bus, BUS_NAME, 0, NULL, NULL, NULL, NULL);
-#endif
     }
   else
     {